/**
 *******************************************************************************
 * @FileName  : tlsr825x_iic.h
 * @Author    : GaoQiu
 * @CreateDate: 2020-09-10
 * @Copyright : Copyright(C) GaoQiu
 *              All Rights Reserved.
 *
 *******************************************************************************
 *
 * The information contained herein is confidential and proprietary property of
 * GaoQiu and is available under the terms of Commercial License Agreement
 * between GaoQiu and the licensee in separate contract or the terms described
 * here-in.
 *
 * This heading MUST NOT be removed from this file.
 *
 * Licensees are granted free, non-transferable use of the information in this
 * file under Mutual Non-Disclosure Agreement. NO WARRENTY of ANY KIND is provided.
 *
 *******************************************************************************
 */
#ifndef TLSR825X_IIC_H_
#define TLSR825X_IIC_H_

#include "tlsr825x.h"

void I2C_MstInit(uint32_t i2cClkHz, uint8_t slvAddr, uint32_t sysClkHz);

int I2C_WriteByte(uint8_t cmd, uint8_t value);
int I2C_Write(uint8_t cmd, uint8_t *pData, uint32_t len);

#endif /* TLSR825X_IIC_H_ */
